home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
maximus
/
sqrep103.zip
/
CARVE.DOC
< prev
next >
Wrap
Text File
|
1992-03-08
|
2KB
|
74 lines
C A R V E
~~~~~~~~~
This little ditty takes the report file generated by SqReport and 'carves'
it up into smaller, logical pieces.
The report file from SqReport can be quite long and, therefore difficult or
impossible to easily integrate into your message base.
Alternatively, maybe you're not interestedin all of the information
contained within the report and just want to save selected parts.
HOW TO USE:
-----------
Entering Carve -? at the DOS prompt yields:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Syntax --> Carve [-rREPORTFILE] [-aAddress] [-lNUMBER]
ReportFile = Drive:\Directory\ReportFile Report File from SqReport.
-aADDRESS = Optional. The address of your node
-lNUMBER = Optional. Number of Lines per report.
Creates: SRin.? for inbound messages
SRdupe.? for duplicate messages
SRout.? for outbound bytes
SRecho.? for echo area traffic
SRsum.? for the summary report
SRdead.? for dead areas
Where ? is replaced by 1,2..9,0,A,B..Y,Z as required
If no -l parameter is specified, the entire report segment
is placed into a single file.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Entering Carve -Rfilename will generate 5 (or 6 if SqReport has be run with
the -A option) files containing the Inbound/Dupe/Outbound/Echo Area/Summary
and Dead areas.
In some cases, these individual files may still be too large for your use.
If so, you can specify -Lnum for the maximum number of lines you'd like
each file to contain (a parameter of -L150 will result in a maximum file
size of just under 10k, ideal for converting into messages with a utility
such as MakeMsg).
Here's a batch example:
:WEEKLY
SqReport -Dweekly.dat -R203-53.OUT -Aareas.bbs -i10 -o30000
carve -R203-53.out -L150 -A1:203/53
for %%f in (srin.? srdupe.? srout.? srecho.? srsum.? srdead.?) do
---------> line wrapped ---------------------> call makestat %%f
erase c:\squish\sr*.*
erase c:\squish\weekly.dat
Here is makestat.bat called from above:
makemsg -xd:\bbs\makemsg.cfg -cc:\squish\%1
The above batch segments carve up the weekly report and create individual
messages in our local sysop echo.
v1.03
=====
Added a date header to the top of each report segment